﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace ProSOLD
{
  /// <summary>
  /// Interaction logic for Program.xaml
  /// </summary>
  public partial class Program : Page
  {
    public Program()
    {
      InitializeComponent();

      image3.Opacity = 0.7;
    }

  

    private void image1_PreviewMouseDown(object sender, MouseButtonEventArgs e)
    {
        Client cl = new Client();

        NavigationService nav;

        nav = NavigationService.GetNavigationService(this);


        nav.Navigate(new System.Uri("Client.xml", UriKind.RelativeOrAbsolute));


        nav.Navigate(cl);



    }


    private void Grid_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
    {
    
    }

    private void image2_ImageFailed(object sender, ExceptionRoutedEventArgs e)
    {

    }

    private void image2_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
    {
      
      admin cl = new admin();

      NavigationService nav;

      nav = NavigationService.GetNavigationService(this);


      nav.Navigate(new System.Uri("admin.xml", UriKind.RelativeOrAbsolute));


      nav.Navigate(cl);

     
 
    }

    private void label1_MouseEnter(object sender, MouseEventArgs e)
    {
      groupBox1.Opacity = 1;
    }

    private void label1_MouseLeave(object sender, MouseEventArgs e)
    {

      groupBox1.Opacity = 0.7;
    }

    private void label2_MouseEnter(object sender, MouseEventArgs e)
    {
      groupBox2.Opacity = 1;
    }

    private void label2_MouseLeave(object sender, MouseEventArgs e)
    {
      groupBox2.Opacity = 0.7;
      
    }

    private void Path_2_MouseEnter(object sender, MouseEventArgs e)
    {
      image3.Opacity = 1;
    }
    private void Path_2_MouseLeave(object sender, MouseEventArgs e)
    {
      image3.Opacity = 0.7;
    }

    private void image3_MouseLeave(object sender, MouseEventArgs e)
    {

    }

    private void image3_MouseEnter(object sender, MouseEventArgs e)
    {

    }

    private void Path_2_MouseLeave_1(object sender, MouseEventArgs e)
    {
      image3.Opacity = 0.7;

    }

    private void path5_MouseLeave(object sender, MouseEventArgs e)
    {
      image3.Opacity = 0.7;
    }

    private void path5_MouseEnter(object sender, MouseEventArgs e)
    {
      image3.Opacity = 1;
    }
  }
}
